package com.yili.oa.service;

import com.yili.oa.entity.FtBetRecordSearch;
import com.yili.oa.models.FtBetRecord;
import com.yili.oa.vo.response.AccountStatisticsRes;
import com.yili.oa.vo.response.FtBetRecordRes;
import com.yili.oa.vo.special.FtBetRecordSpec;
import com.yili.oa.vo.special.RewardHistorySpec;

import java.util.Date;
import java.util.List;

public interface FtBetRecordService {

    Integer add(FtBetRecord ftBetRecord);

    List<FtBetRecordRes> get(FtBetRecordSearch searchBase);

    void update(FtBetRecord ftBetRecord);

    AccountStatisticsRes getAccountStatistics(FtBetRecordSearch searchBase);

    List<FtBetRecordSpec> getByUserId(Long userId, Long gameKind, Date datetime);

    List<FtBetRecordSpec> getByGameId(Long userId, Long gameKind, Date datetime);

    Float getBetSum(Long userId);

    List<FtBetRecord> getByUserId(Long userId);

    void add(RewardHistorySpec rewardHistorySpec);

    List<RewardHistorySpec> getRewarHist(Long userId);
}
